package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;


/**
 * @author dalong
 * @date 2021-04-25 17:01
 */

@Data
public class ThirdAuthLoginRspVO implements Serializable {

    @JsonProperty(value = "account_id")
    private Integer accountId;

    private String username;

    private Long phone = 0L;

    @JsonProperty("nick_name")
    private String nickname;

    private Integer sex = 0;

    private String token;

    @JsonProperty(value = "account_type")
    private Integer accountType = 1;

    private Integer status;

    @JsonProperty(value = "app_id")
    private String appId;

    @JsonProperty(value = "third_party_user_id")
    private Integer thirdPartyUserId;

    @JsonProperty(value = "profile_photo")
    private String profilePhoto;

    @JsonProperty(value = "third_user_id")
    private String thirdUserId;

    @JsonProperty(value = "updated_at")
    private LocalDateTime updatedAt;

    @JsonProperty(value = "created_at")
    private LocalDateTime createdAt;

    @JsonProperty(value = "deleted_at")
    private LocalDateTime deletedAt;

    @JsonProperty(value = "status_str")
    private String statusStr;

    @JsonProperty(value = "sex_str")
    private String sexStr;

    @JsonProperty(value = "type_str")
    private String typeStr;

    private List<String> modules;

}
